package com.ruibang.glass.quality.mapper;

import com.ruibang.glass.quality.domain.req.DiscardDefectReq;
import com.ruibang.glass.quality.domain.req.EverydayDiscardDefectReq;
import com.ruibang.glass.quality.entity.EverydayHotEndDiscardDefect;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EverydayHotEndDiscardDefectMapper extends CommonMapper<EverydayHotEndDiscardDefect> {

    void deleteByDate(@Param("discardReq") DiscardDefectReq defectReq);


    List<EverydayHotEndDiscardDefect> queryEverydayDiscardDefect(EverydayDiscardDefectReq everydayDiscardDefectReq);

}
